﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ApiLib
{
    public class LoginVM
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public int RoleId { get; set; }

    }
    public class TokenRequest
    {
        [Required(ErrorMessage ="用户名必填")]
        public string UserName { get; set; }
        [Required(ErrorMessage ="密码必填")]
        public string Pwd { get; set; }

    }
}
